﻿using MediatR;
using ShineTech.Domain.Models.Kanbans;
using System;
using System.ComponentModel.DataAnnotations;

namespace ShineTech.Web.Kanbans.Commands
{
    public class CreateShareCommand : IRequest<ShareDTO>
    {
        public CreateShareCommand(Guid kanbanId, string toEmail, string sendEmail, Guid sendUserId, Guid toUserId, DateTime createdTime)
        {
            KanbanId = kanbanId;
            ToEmail = toEmail;
            SendEmail = sendEmail;
            SendUserId = sendUserId;
            ToUserId = toUserId;
            CreatedTime = createdTime;
        }

        public CreateShareCommand() { }

        public Guid KanbanId { get; private set; }
        public string ToEmail { get; private set; }

        public string SendEmail { get; private set; }
        public Guid SendUserId { get; private set; }
        public Guid ToUserId { get; private set; }
        public DateTime CreatedTime { get; set; }


    }
}
